package com.yunao.web.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class OrganizationForm {
    private Integer id;
    @NotBlank(message = "组织名字必填")
    private String name;
    @NotBlank(message = "组织简称必填")
    private String shortname;
    @NotBlank (message = "组织联系人必填")
    private String person;
    @NotBlank (message = "组织邮箱必填")
    private String email;
    @NotBlank (message = "组织手机必填")
    private String mobile;
    @NotBlank (message = "组织座机必填")
    private String telephone;
    @NotNull(message = "组织用户数量上限必填")
    private Integer userCeiling;
    @NotNull (message = "组织专题数量上限必填")
    private Integer subjectCeiling;
    @NotBlank(message = "组织过期时间必填")
    private String expireDate;
    @NotBlank (message = "地域必填")
    private String localtion;
    @NotBlank (message = "行业必填")
    private String trade;

}
